//Wrapper class that hold string representing site address

#ifndef URL_H
#define URL_H

#include <string>
#include <stdlib.h>
#include <string.h>

using namespace std;

class URL{

      private:

            string *url,*base,*path;
            //the address

      public:

//          URL();
            URL(string *address);
            URL(const URL& other);
            URL& operator =(const URL &other);
            ~URL();
            string getAddress();
            int compare(const URL &other);
            string getBaseAddr();
            string getPath();
            string print();
            bool inScope(URL &other);
            friend ostream &operator<<(ostream &stream, URL o);
}; 




#endif
